<script setup lang="ts">
import { RouterView } from 'vue-router'
import Sidebar from './components/Sidebar.vue'
import { SidebarProvider, SidebarInset } from '@/components/ui/sidebar'

</script>

<template>
  <SidebarProvider>
    <Sidebar />
    <SidebarInset>
      <div id="app">
        <router-view />
      </div>
    </SidebarInset>
  </SidebarProvider>
</template>

<style>
/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  /* 移除固定的背景色和文字颜色，让Tailwind主题系统接管色彩主题 */
}

#app {
  min-height: 100vh;
}
</style>
